#ifndef CAMERA_H
#define CAMERA_H

#include <stdexcept>
#include <opencv2/highgui/highgui.hpp>

#include "capture.h"

class Camera : public Capture
{
public:
    Camera(int device = -1);
    cv::Mat getNextFrame();
    int get(int propId);
    virtual ~Camera();

private:
    cv::VideoCapture cap;
};

#endif // CAMERA_H
